package com.shopping.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.shopping.dao.AdminDao;
import com.shopping.po.Admin;
import com.shopping.service.AdminService;


@Service
@Transactional
public class AdminServiceImpl implements AdminService {
	@Autowired
	private AdminDao adminDao;
	public Admin findadminByName(String adminname) {
		return this.adminDao.findAdminByName(adminname);
	}
	

}
